<div class="loading-container"><div class="loader"></div></div>

<div class="wrapper wrapper-shadow wrapper-list">
	<!-- list data wrapper -->
	<div class="result-wrapper">
   	<div class="content-wrapper no-padding">
     	<div class="content-body">
     		<div class="tabs">
           <ul class="nav nav-tabs widget">
             <li class="active"> 
             	<a href="#tab-content" data-toggle="tab"> 
             		<span class="menu-icon"><i class="fa fa-user-plus"></i></span> 老师信息
             	</a>
             </li>
           </ul>
           <div class="tab-content no-border xs-padding">
             <div class="tab-pane active" id="tab-content">
             	<div id="toolbar" class="btn-group">
						    <button type="button" class="btn btn-primary" onclick="handlerCreate(this);" data-editor-path="/miwawa/content/eam/teacher/editor/" data-editor-page="add.html">
				        	<i class="glyphicon glyphicon-plus"></i> 新增
						    </button>
							</div>
             	<table data-ajax="handlerSearch" 
           					 data-method="post" 
										 data-search="true" 
										 data-toolbar="#toolbar" 
            				 data-id-field="id" 
            				 data-unique-id="id" 
										 data-pagination="true" 
										 data-show-toggle="true" 
										 data-show-refresh="true" 
										 data-show-columns="true" 
										 data-check-on-init="true" 
										 data-click-to-select="false" 
										 data-side-pagination="server" 
										 data-mobile-responsive="true" 
										 data-event-onload="handlerSuccess" 
									 	 data-form-search="#search-form-teacher" id="table-teacher" class="bootstrap-table">
								<thead>
									<tr>
										<th data-checkbox="true"></th>
										<th data-field="id" data-visible="false" data-switchable="false">ID</th>
										<th data-field="name" 		data-align="center" >姓名</th>
										<th data-field="type" 		data-align="center" >类型</th>
										<th data-field="duty" 		data-align="center" >职务</th>
										<th data-field="mobile" 	data-align="center" >手机</th>
										<th data-field="mode" 		data-align="center" >课时费</th>
										<th data-field="moonage" 	data-align="center" >负责班级</th>
										<th data-field="moonage" 	data-align="center" >到课率</th>
										<th data-field="operator" data-align="center" data-width="30" data-formatter="renderOperator" data-table-target="teacher">操作</th>
									</tr>
								</thead>
							</table>
             </div>
           </div>
         </div>
     	</div>
   	</div>
	</div>

	<!-- form editor wrapper -->
	<div class="editor-wrapper">
		
	</div>
</div>
<!-- PAGE CONTENT END =============================================== -->
		
<!-- 查询表单 ========================================================= -->
<form id="search-form-teacher" action="/miwawa/{dbname}/common/search.json" method="post" 
			name="com.app.miwawa.api.eam.entity.Teacher">
			<input type="hidden" name="status" value="0" data-search-group="and" data-search-operation="EQ">
			<input type="hidden" name="invalid" value="F" data-search-group="and" data-search-operation="EQ">
</form>

<!-- Javascript ===================================================== -->
<script src="/miwawa/resources/lib/miwawa/1.0.2/js/core/requirejs/require.js"></script>
<script type="text/javascript">
	<!--
	jQuery(function(){
		require(['/miwawa/resources/lib/miwawa/1.0.2/js/core/module/app/teacher.js'], function(teacher){
			teacher();
		});
	});
	//-->
</script>
